import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

const router = new Router({
    routes: [
        {
            path: '/',
            name: 'home',
            component: () => import('@/views'),
            meta: {
                title: '首页',
                requireAuth: false,
            }
        },
        {
            path: '**',
            redirect: '/'
        }
    ]
})
export default router
